Public: User Documentation : Mac ssh settings for Emacs
This page last changed on Feb 24, 2005 by eblack.
There was a question about emacs settings being screwed up on one system accessed from a Mac client: I use emacs as my editor when I am in a terminal window. It works The next problem is that I am used to no highlighting but on web key I am sure that emacs in all its flexibility can read some pref/init If you put this into your .bashrc file, both problems should go away: alias emacs='tset -e ^d;emacs -q' This feels like a hack to me, the first part telling the terminal to erase with the delete key, which, as you said was acting like control-D(that still works as expected). But it might be what is required as the ssh client might be screwing up the key mappings, although this is only happening on web for you, but all remote systems for my mac. The second part starts emacs with no initialization files, removing the highlighting. Let me know if this helps. I'll keep my eye out for a better solution. Well, I guess it wasn't as much of a hack as I thought. This is the more generic way of fixing the problem that doesn't require that alias setting and will allow you to source the emacs initialization files. On the mac, under Terminal Preferences, you must have your terminal set to vt100, change that to xterm( that's where the highlighting is coming from ). Under Terminal>Window Settings, select Keyboard from the drop-down list and click 'Delete key sends backspace'. That should get rid of the other problem.
|
Document generated by Confluence on Jan 27, 2014 16:57 |